from django.contrib import admin
# Register your models here.
from django.contrib import admin
from .models import Course
from ckeditor.widgets import CKEditorWidget
from django import forms
class MyModelAdminForm(forms.ModelForm):
    class Meta:
        model = Course
        fields = '__all__'
class MyModelAdmin(admin.ModelAdmin):
    form = MyModelAdminForm
admin.site.register(Course, MyModelAdmin)
